Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

FP Issues

Dear EE experts,

In fact I have 3 demands which are so important at this stage in my project.  

Problem number 1
My users fill a certain form to request some items.  I want the store keeper to get notified when someone requests something.  Is it possible to develope a form that sumbits to the database and to the store keeper's email at the same time?

Problem number 2
When I display an asp page that has full listing of our products I get it according to the item number.  Is it possible to put links above the table to sort it according to other fields?

Problem number 3
In the purchasing list,  I want the purchase date to be displayed in British format,  i.e: day/Month/Year.

Thank you experts for your patience

Melvin
0
melvinob
Asked:
melvinob
  • 2
1 Solution
 
hhammashCommented:
Hi,

Number 1
This link might help:
http://www.frontpagehowto.com/dbandemail.htm


Number 2
The solution in the following link does what you need,  but the links are not above the table,  they are in the table heading.

http://www.frontpagemagic.com/DRW/Format/DynamicSorting/Index.asp

Reply to question 3 is coming up.

0
 
hhammashCommented:
Hi again,

To answer your last question I will give you and example which you can apply to suite your needs.

Let's say that the Database is called Staff and the Table is called StaffInfo. The table has the following fields. StaffName, Salary, DateJoined.

Now we want to create a DRW to display all these information, but with DateJoined as dd/mm/yyyy instead of mm/dd/yyyy. A British Date as you requested.

In frontpage
1- Select Insert>Database>Results
2- Select the Database Connection (in our example Staff)
3- Next Step click on Custom Query Button.
4- Insert the following SQL:
Select StaffName,Salary, Fomat(DateJoined,'dd/mm/yyyy') From StaffInfo
5- Continue the Database results till the end.

Try the page, it will display all date joined as dd/mm/yyy.
Of course you can use yyyy/mm/dd, mm/dd/yyyy, dddd dd,mmmm,yyyy

I hope that this solves your problems.
0
 
melvinobAuthor Commented:
thks for you quick reply

I'll give it a try and let u know


0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now