Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Calling Access Macros from ASP page?
Old 02-21-2006, 09:11 PM Calling Access Macros from ASP page?
Novice Talker

Posts: 14
Trades: 0
Hola senor en senora.

I have a question about calling Access macros in ASP page. I already have done the codes to call the method from Access. I go back to the database & see that the data has been successfully been imported.

Actually, I thought of creating by scratch my own database, with table, with macro & see if I can import using the ASP codes.

First, I created a DB & I copied a table's field columns into the table created in the new DB. Then, I created a macro. Then I specify the Import Specification name to the macro.

In all my text files has this header:
Eg.
ITXNRPT ERP INVALID TRANSACTIONS REPORT BY TERMINAL PROC DATE : 02/02/2005 PAGE : 1 PROC TIME : 02:18:42

And hence, all my tables has this field column called reportDate. And these text files does not have any data for reportDate. So, I need to make it such that everytime importing data is being done, the reportDate is able to record the day of the import minus 1. That means Access displays the date as 1 day before.

I only know how to define the day as current Now()-1. But I am not sure on how to display the date as 1 day before.

And also, I was thinking about prompting the User to enter input for reportDate just in case if the data to be imported was a back-dated text file (meaning that for a particular text file, for some reason, it did not import the data for that day & then the next data came bla bla..) & then I need to prompt the User to specify the date the data being imported manually by the User.

Is all that possible?? I don't really know where to continue from where I'm stuck. Do hope I could clarify my doubts & questions here. Gracias.
__________________
Marriage is the price men pay for sex. Sex is the price women pay for marriage.

Last edited by DOLL; 02-22-2006 at 12:00 AM..
DOLL is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-22-2006, 06:20 AM Re: Calling Access Macros from ASP page?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you cannot use the Access macros directly, but if you can recode them as stored procedures then you can call them.
Or rewrite the macros as ASP code
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-24-2006, 04:06 AM Re: Calling Access Macros from ASP page?
Novice Talker

Posts: 14
Trades: 0
Hola Senor. Can you please explain that in detail?

Why should we create a stored procedure? And how do I start? Could you give me some pointers? Gracias Senor.
__________________
Marriage is the price men pay for sex. Sex is the price women pay for marriage.
DOLL is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Calling Access Macros from ASP page?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.39958 seconds with 12 queries