debasisdas 580 Posting Genius Featured Poster

You cam also use FileSystemObject.

debasisdas 580 Posting Genius Featured Poster

lock the server to restrict what ?

debasisdas 580 Posting Genius Featured Poster

That can also be done in a simple for loop.

debasisdas 580 Posting Genius Featured Poster

Displaying all the files of a directory at one place does not make any sense to me.

Try using DriveListBox, DirListBox and FileListBox Control. Check this , may help you.

debasisdas 580 Posting Genius Featured Poster

This may be helpful to you.

debasisdas 580 Posting Genius Featured Poster

What you need to use is proper key words for search, will will always hit what you are looking for.

debasisdas 580 Posting Genius Featured Poster

add this to change event or lost focus of the text box.

if vaL(txtr.text) > 32767 then
msgbox( "out of range")
end if;
debasisdas 580 Posting Genius Featured Poster

You need to use GROUP BY clause in your query.

debasisdas 580 Posting Genius Featured Poster

Lets see the code that you are working on.

debasisdas 580 Posting Genius Featured Poster

which user you are talking about ?

is it application login user ,database user or windows user ?

debasisdas 580 Posting Genius Featured Poster

try this way

select distinct f1,f2,f3 from
(select distinct f1,f2,f3 from table1
union
select distinct f1,f2,f3 from table2
)
debasisdas 580 Posting Genius Featured Poster

You need to write a validation function for that and call the same in the lost focus of the control.

debasisdas 580 Posting Genius Featured Poster

Let me understand for which date you want to fetch the data.

debasisdas 580 Posting Genius Featured Poster

Let see your code, how you have done all that.

debasisdas 580 Posting Genius Featured Poster

if the images are in net what is in database ?

debasisdas 580 Posting Genius Featured Poster

try this

select EmpID,EmpName from Emp order by EmpName
debasisdas 580 Posting Genius Featured Poster

Hi Lyandor,

Welcome to Daniweb.

Hope you have a nice time learning new things here.

debasisdas 580 Posting Genius Featured Poster

Use distinct.

debasisdas 580 Posting Genius Featured Poster

where the images are stored in what format ?

debasisdas 580 Posting Genius Featured Poster

Please check here and here.

debasisdas 580 Posting Genius Featured Poster

database does not fetch it only stores.

debasisdas 580 Posting Genius Featured Poster

This is useful to you.

debasisdas 580 Posting Genius Featured Poster

how are you generating those random numbers.

debasisdas 580 Posting Genius Featured Poster

Hi,

Welcome to Daniweb.

debasisdas 580 Posting Genius Featured Poster

Lets see the query that you are working on.

debasisdas 580 Posting Genius Featured Poster

i think you said you want to find the highest block_id

then why using max(unique_id)

debasisdas 580 Posting Genius Featured Poster

you need to update the records.

debasisdas 580 Posting Genius Featured Poster

Please read more here and here.
Also check this.

debasisdas 580 Posting Genius Featured Poster

Read this.

debasisdas 580 Posting Genius Featured Poster

How you populate the grid ? is it not from recordset ?

debasisdas 580 Posting Genius Featured Poster

dtATG.Rows.Add(i)

in the above line you need to add column values not the for loop counter.

debasisdas 580 Posting Genius Featured Poster

have you opened the record set ?

debasisdas 580 Posting Genius Featured Poster

I think that should be available under property pallet of the toolbar control.

debasisdas 580 Posting Genius Featured Poster

I think that exceeds the max value allowed.

debasisdas 580 Posting Genius Featured Poster

Rediscovering the wheel sounds great but actually is not a good idea.

adam_k commented: :D +3
debasisdas 580 Posting Genius Featured Poster

Donate $5 to daniweb and you will know all the secrets of this universe that is not visible to mere mortals. :)

debasisdas 580 Posting Genius Featured Poster

please check this.

if that doe snot work you need to use some 3rd party control.

debasisdas 580 Posting Genius Featured Poster

This may help.

debasisdas 580 Posting Genius Featured Poster

that can be done using a view also.

If you have Hugh records, the insert into temp table will take a lot of time.

debasisdas 580 Posting Genius Featured Poster

if you are simply selecting from other tables , why need to store the result set.

debasisdas 580 Posting Genius Featured Poster

What is the connection string that you are using.

debasisdas 580 Posting Genius Featured Poster

why not use a view instead.

debasisdas 580 Posting Genius Featured Poster

I dont understand the code. No where in the code mentioned to insert the image

SavePicture()---does that for you.

as i said this only a sample and is not fully customized to cater to your exact requirement.

first insert a record into database without he document and then modify the code in the link.

debasisdas 580 Posting Genius Featured Poster

your procedure contains only the SQL , and nothing else ?

debasisdas 580 Posting Genius Featured Poster

have you tried for those file formats ?

debasisdas 580 Posting Genius Featured Poster

What worries you masters you.

debasisdas 580 Posting Genius Featured Poster

So what are you doing after that SQL query ?

debasisdas 580 Posting Genius Featured Poster

Please read this and this.


these are sample codes only.

debasisdas 580 Posting Genius Featured Poster

can you access your centralized server from all the 5 branches ?

debasisdas 580 Posting Genius Featured Poster

internet is not required, you can work on a centralized DB with your intranet.