Alistair Leslie-Hughes
78ba84e3c5
msado15: Correct logic when setting field value.
2023-11-21 11:10:55 +01:00
Alistair Leslie-Hughes
a85055ee6c
msado15: Updating recordset EditMode when field value changes.
...
We need to know what type of Edit we are Performing, eg AddNew or Updated existing.
2023-11-17 10:55:24 +01:00
Alex Henrie
02634d8351
msado15: Remove unused heap.h include.
2023-11-03 12:00:45 +01:00
Alexandre Julliard
acad49573a
makefiles: Always use the global SOURCES variable for .c files.
2023-11-01 22:44:03 +01:00
Alexandre Julliard
c432eac726
makefiles: Always use the global SOURCES variable for .idl files.
2023-11-01 22:43:50 +01:00
Alistair Leslie-Hughes
77b506709a
msado15: Show fixme only if field_list needs to be used in Recordset::AddNew.
2023-10-05 18:49:44 +02:00
Alistair Leslie-Hughes
8a4e235efc
msado15: Move to newly created row in Recordset::AddNew.
...
It's valid to have a recordset with existing rows. AddNew needs to
move to newly created row, so existing won't be used.
2023-10-05 18:49:44 +02:00
Alistair Leslie-Hughes
8fa02bf086
msado15: Update editMode in AddNew/Cancel/Update functions.
2023-09-27 22:16:48 +02:00
Alistair Leslie-Hughes
5bfd2fc19c
msado15: _Recordset::Open store active connection parameter.
2023-09-27 22:16:48 +02:00
Alistair Leslie-Hughes
a1610861ff
msado15: Implement _Recordset::get_ActiveConnection.
2023-09-27 22:16:48 +02:00
Alistair Leslie-Hughes
dcba11c185
msado15: _Recordset::Filter set index on value.
2023-09-26 21:19:10 +02:00
Alistair Leslie-Hughes
8e9bea371d
msado15: Recordset::Open - Correctly update count/index values.
...
ADO can return a RecordCount of -1.
2023-09-21 10:47:43 +02:00
Alistair Leslie-Hughes
172c4daf33
msado15: Remove DECLSPEC_HIDDEN usage.
2023-07-12 10:55:10 +02:00
Francois Gouget
8caae7de4f
msado15: Fix the spelling of a comment.
2023-05-16 08:16:33 -05:00
Alistair Leslie-Hughes
f1594312fb
msado15: Initialize all SYSTEMTIME members.
2023-04-07 17:05:52 +02:00
Alistair Leslie-Hughes
3a1f5224fb
msado15: Handle DBTYPE_STR type when loading recordset data.
2023-03-30 20:53:21 +02:00
Alistair Leslie-Hughes
49f7059745
msado15: Store all data from provider.
2023-03-22 09:41:48 +01:00
Alistair Leslie-Hughes
4ae5d2537b
msado15: Bind fields in _Recordset Open.
2023-03-22 09:41:47 +01:00
Francois Gouget
6c6cc2cebc
msado15: Fix the spelling of a comment.
2023-03-07 17:25:08 +01:00
Akihiro Sagawa
e8bba58431
msado15: Free recordset filter on close.
...
Introduced by commit 669107f6c5
.
2023-02-28 09:44:20 +01:00
Alistair Leslie-Hughes
e5b1ddeab3
msado15: Support "Optimize" in Properties get_Item.
...
The Optimize property tells msado15 to create index maps
for lookups in Recordset Find. Just store the value for
now until Find is implemented.
2023-02-21 11:21:27 +01:00
Alistair Leslie-Hughes
493751197d
msado15: Field ActualSize return a default size.
2023-02-20 08:38:13 +01:00
Alistair Leslie-Hughes
669107f6c5
msado15: Semi-stub _Recordset get/put Filter.
2023-02-20 08:37:38 +01:00
Gerald Pfeifer
66f6cc5965
msado15: Avoid uninitialized variable warning in fields_get_Item.
...
This avoids the following warning by GCC 13:
dlls/msado15/recordset.c:790:32: warning: 'i' may be used uninitialized
2022-11-21 13:00:32 +01:00
Alex Henrie
c591687d82
msado15: Remove unused functions heap_realloc_zero and strdupW.
2022-11-17 09:58:59 +01:00
Alex Henrie
bb8d69d9c2
msado15: Use standard C functions for memory allocation in stream.c.
2022-11-17 09:58:59 +01:00
Alex Henrie
4899ff5828
msado15: Use standard C functions for memory allocation in recordset.c.
2022-11-17 09:58:59 +01:00
Alex Henrie
4108a3a9f9
msado15: Use standard C functions for memory allocation in connection.c.
2022-11-17 09:58:59 +01:00
Alex Henrie
f601c01529
msado15: Use standard C functions for memory allocation in command.c.
2022-11-17 09:58:59 +01:00
Alistair Leslie-Hughes
d106b3c450
msado15: Implement _Recordset get_EditMode.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 21:27:25 +02:00
Alistair Leslie-Hughes
8fbc1c1a09
msado15: Return valid object in Recordset::Clone.
...
This is just to stop a crash when Clone is called.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:25:17 +02:00
Eric Pouech
89440f5889
msado15/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 10:37:40 +01:00
Eric Pouech
1a4ff1e823
msado15/tests: Use correct integral type.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 10:37:38 +01:00
Eric Pouech
2424f03a59
msado15: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-15 10:37:56 +01:00
Alexandre Julliard
1bf3ebdfc4
msado15: Fix some LONG/LONG_PTR mismatches.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 22:44:49 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alistair Leslie-Hughes
6a9eaa619c
msado15: Return early if Execute doesn't return a rowset.
...
Not all queries return a rowset, eg delete from ....
In these cases, there isn't anything else to be done.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 18:15:40 +01:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alistair Leslie-Hughes
f6fc0e2b77
msado15: Convert to Integer for field index.
...
Thanks Gabriel Ivăncescu.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-09 11:54:51 +02:00
Alistair Leslie-Hughes
38f01fe2cb
msado15: Support VT_I4/I2 for Fields Item property.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-08 22:28:44 +02:00
Alistair Leslie-Hughes
4522c54a13
msado15: Correct field reference value.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:22:04 +02:00
Alistair Leslie-Hughes
5a0dfa15ee
msado15/tests: Add Field tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:22:02 +02:00
Alistair Leslie-Hughes
9c5bb97465
msado15/test: Remove Reference count tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:22:00 +02:00
Alistair Leslie-Hughes
1b9c6227f3
msado15: Use Recordset_Open in Connection_Execute.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
5d82baf974
winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alistair Leslie-Hughes
d5aa637737
msado15: Support Properties interface on Field.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-27 17:43:16 +02:00
Alistair Leslie-Hughes
db509cf4fe
msado15: Implement _Recordset get/put Bookmark.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-26 16:48:30 +01:00
Alistair Leslie-Hughes
83b558c5f3
msado15: Clear interface point after release.
...
Since we clear the recordset pointer, we need to reassign it when retreiving Fields.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Alistair Leslie-Hughes
c93798bd56
msado15: Improve return when field cannot be found.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00