M
M600
Hi
Forgive any newbie gaffs - my first post![Smile :) :)](/styles/default/custom/smilies/smile.gif)
I have a task to 'push' 3 specific values from an Excel spreadsheet
into an Access .adp-fronted SQL database. The Access project updates a
generic Excel spreadsheet with Client information before the open
spreadsheet is saved with a new name, at which point these values need
to feed back into the database. As the spreadsheet is initially always
the same one, the values change but the 'sheet/cells/refs are
consistent.
In the [Clients] table, I need to match a unique [Client Ref] field,
held in Sheet1.("D6"), and update fields: [Org Amount], [Org Comm] and
[PPP] which will be variously empty and populated.
If there's a way of utilising the Access form, this is kept open and
active when the spreadsheet is created.
Also, can anyone help me with the syntax for this:
sSQL = "DELETE FROM DocsSummary WHERE [UniqueID]=????",
where ??? is the Excel cell reference for the matching [UniqueID]
value, held in cell F41?
I guess this is all a walk in the park for someone. I've had some
breakthroughs with a test Access mdb but I'm really struggling with
SQL. All help greatly appreciated.
Thanks
Dino
Forgive any newbie gaffs - my first post
![Smile :) :)](/styles/default/custom/smilies/smile.gif)
I have a task to 'push' 3 specific values from an Excel spreadsheet
into an Access .adp-fronted SQL database. The Access project updates a
generic Excel spreadsheet with Client information before the open
spreadsheet is saved with a new name, at which point these values need
to feed back into the database. As the spreadsheet is initially always
the same one, the values change but the 'sheet/cells/refs are
consistent.
In the [Clients] table, I need to match a unique [Client Ref] field,
held in Sheet1.("D6"), and update fields: [Org Amount], [Org Comm] and
[PPP] which will be variously empty and populated.
If there's a way of utilising the Access form, this is kept open and
active when the spreadsheet is created.
Also, can anyone help me with the syntax for this:
sSQL = "DELETE FROM DocsSummary WHERE [UniqueID]=????",
where ??? is the Excel cell reference for the matching [UniqueID]
value, held in cell F41?
I guess this is all a walk in the park for someone. I've had some
breakthroughs with a test Access mdb but I'm really struggling with
SQL. All help greatly appreciated.
Thanks
Dino