Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sql to dbase

Status
Not open for further replies.

tekmakesmetwitch

Technical User
Jul 11, 2007
18
US
apparently i am doing something wrong...what i want to do it create a automated process to take a particular date field in my Goldmine and create the following condition...if the date in the named field is older than the current date...then i want to have that date forward 30 days from current date...in dbase. Forgive me as I am a "draw me a picture" type of being!!
 
Provided your Goldmine table is linked in your access DB, here a simple update query:
UPDATE yourLinkedTable
SET yourDateField = 30 + Date()
WHERE yourDateField < Date()

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 




Hi,

"...if the date in the named field is older than the current date...then i want to have that date forward 30 days from current date..."

Please explain what you mean?

Skip,
[sub]
[glasses] To be safe on the [red]FOURTH[/red],
Don't take a [red]FIFTH[/red] on the [red]THIRD[/red]
Or you might not come [red]FORTH[/red] on the [red]FIFTH[/red]
[red][highlight blue]FORTH[/highlight][/red][white][highlight red]WITH[/highlight][/white] [tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top