PC Review


Reply
Thread Tools Rate Thread

Asp and access problems

 
 
polilop
Guest
Posts: n/a
 
      8th Sep 2006
I have an asp page in which i get recordsets from a access db ,
when i do a query from the asp page i get EOF (no rs),but then i make the
same Query inside access, and i get the data, then i return again to my asp
page and for some reasone it gives me some data back, and allways after i do
the query inside access will it return my data inside my asp page?


 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      8th Sep 2006
What code are you using?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"polilop" <fmatosic@@inet.hr> wrote in message
news:(E-Mail Removed)...
> I have an asp page in which i get recordsets from a access db ,
> when i do a query from the asp page i get EOF (no rs),but then i make the
> same Query inside access, and i get the data, then i return again to my

asp
> page and for some reasone it gives me some data back, and allways after i

do
> the query inside access will it return my data inside my asp page?
>
>



 
Reply With Quote
 
polilop
Guest
Posts: n/a
 
      8th Sep 2006
Set RsGiN = Server.CreateObject("ADODB.Recordset")
RsGiN.ActiveConnection = MM_Connection_STRING
RsGiN.Source = "SELECT NUM_SIFRA_VALUTE, TXT_SIFRA_VALUTE, IZNOS_KN_KUP,
IZNOS_VAL_KUP, IZNOS_KN_PROD, IZNOS_VAL_PROD, IME, ZBROJ.BR_POSLOVNICE,
SIFRA FROM MjenjaciPojedinacno WHERE OZNAKA_PLACANJA='G' AND
OZNAKA_REZIDENTNOSTI='N' AND SIFRA='"& StrSifra&"' AND
DATUMIZVJESCA='"&StrDatum&"' ORDER BY NUM_SIFRA_VALUTE ASC"
RsGiN.CursorType = 0
RsGiN.CursorLocation = 2
RsGiN.LockType = 1
RsGiN.Open()
RsGiN_numRows = 0

The problem is that this worked fine, until few days ago, the only change i
have to make is to put my application on port 5555
as i have another that responds to port 80, but after that it still woked
OK. I'm wondering if access is the problem

"Steven Burn" <(E-Mail Removed)> wrote in message
news:uFP$(E-Mail Removed)...
> What code are you using?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "polilop" <fmatosic@@inet.hr> wrote in message
> news:(E-Mail Removed)...
>> I have an asp page in which i get recordsets from a access db ,
>> when i do a query from the asp page i get EOF (no rs),but then i make the
>> same Query inside access, and i get the data, then i return again to my

> asp
>> page and for some reasone it gives me some data back, and allways after i

> do
>> the query inside access will it return my data inside my asp page?
>>
>>

>
>



 
Reply With Quote
 
polilop
Guest
Posts: n/a
 
      8th Sep 2006
Resolved my problem, i had a query that used another query to return a
value, this query was altered, so every time i went into access and run the
sub query( some call it parametrized query) somehow when the asp query run
afterwords it could get the data, although it was altered..
sorry if i did not explain this wery well
"polilop" <fmatosic@@inet.hr> wrote in message
news:(E-Mail Removed)...
> Set RsGiN = Server.CreateObject("ADODB.Recordset")
> RsGiN.ActiveConnection = MM_Connection_STRING
> RsGiN.Source = "SELECT NUM_SIFRA_VALUTE, TXT_SIFRA_VALUTE, IZNOS_KN_KUP,
> IZNOS_VAL_KUP, IZNOS_KN_PROD, IZNOS_VAL_PROD, IME, ZBROJ.BR_POSLOVNICE,
> SIFRA FROM MjenjaciPojedinacno WHERE OZNAKA_PLACANJA='G' AND
> OZNAKA_REZIDENTNOSTI='N' AND SIFRA='"& StrSifra&"' AND
> DATUMIZVJESCA='"&StrDatum&"' ORDER BY NUM_SIFRA_VALUTE ASC"
> RsGiN.CursorType = 0
> RsGiN.CursorLocation = 2
> RsGiN.LockType = 1
> RsGiN.Open()
> RsGiN_numRows = 0
>
> The problem is that this worked fine, until few days ago, the only change
> i have to make is to put my application on port 5555
> as i have another that responds to port 80, but after that it still woked
> OK. I'm wondering if access is the problem
>
> "Steven Burn" <(E-Mail Removed)> wrote in message
> news:uFP$(E-Mail Removed)...
>> What code are you using?
>>
>> --
>> Regards
>>
>> Steven Burn
>> Ur I.T. Mate Group
>> www.it-mate.co.uk
>>
>> Keeping it FREE!
>>
>> "polilop" <fmatosic@@inet.hr> wrote in message
>> news:(E-Mail Removed)...
>>> I have an asp page in which i get recordsets from a access db ,
>>> when i do a query from the asp page i get EOF (no rs),but then i make
>>> the
>>> same Query inside access, and i get the data, then i return again to my

>> asp
>>> page and for some reasone it gives me some data back, and allways after
>>> i

>> do
>>> the query inside access will it return my data inside my asp page?
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Forms No-Touch Deployment problems using DAO on User-Level Secured Access DB to access groups James Microsoft Dot NET Framework Forms 4 19th Nov 2003 03:15 PM
Windows Forms No-Touch Deployment problems using DAO on User-Level Secured Access DB to access groups 1 James Microsoft VB .NET 0 16th Nov 2003 06:49 PM
Problems, problems, problems...Access 2002 into Access 2000 Marcin Wlazlo Microsoft Access VBA Modules 3 29th Oct 2003 03:49 PM
problems opening Access 2000 german database in Access XP english bodo Microsoft Access Forms 0 6th Sep 2003 07:11 PM
bumped up Re: Problems opening Access 2000 file in Access 2002 Margaret Microsoft Access 2 28th Aug 2003 02:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:15 AM.